/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
.dag-canvas {
  display: flex;
  overflow: hidden;
  height: calc(100% - 50px);
  padding: 10px 0 0 0;
  box-sizing: border-box;

  .dag-container {
    height: 100%;
    flex: 1;
    overflow: hidden;
    position: relative;

    .paper {
      width: 100%;
      height: 100%;
    }

    .minimap {
      position: absolute;
      right: 0px;
      bottom: 0px;
      border: dashed 1px #e4e4e4;
      z-index: 9;
    }

    .scale-slider{
      position: absolute;
      height: 140px;
      width: 70px;
      right: 0px;
      bottom: 140px;
      z-index: 9;
      display: flex;
      justify-content: center;

      ::v-deep .el-slider__runway{
        background-color: #fff;
      }

      .scale-title{
        position: absolute;
        top: -30px;
        left: 22px;
        font-size: 12px;
        color: #666;
      }
    }

    .context-menu{
      position: absolute;
      left: 100px;
      top: 100px;
    }

  }
}
